

public class InsertSort {

	public static void sortVector(int vector[]) {
		for (int i = 1; i < vector.length; i++) {

			int a = vector[i];
			int j;
			for (j = i - 1; j >= 0 && vector[j] > a; j--) {
				vector[j+1]=vector[j];
				vector[j]=a;
				
				
			}
		}

	}

}
